package com.bootdo.wx.dao;

import com.bootdo.wx.domain.OrderBargainDO;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;

/**
 * 砍价订单
 * @author chglee
 * @email 1992lcg@163.com
 * @date 2019-07-03 11:05:58
 */
@Mapper
public interface OrderBargainDao {

	OrderBargainDO get(String id);
	
	List<OrderBargainDO> list(Map<String, Object> map);
	
	int count(Map<String, Object> map);
	
	int save(OrderBargainDO orderBargain);
	
	int update(OrderBargainDO orderBargain);
	
	int remove(String id);
	
	int batchRemove(String[] ids);

	List<Map<String,Object>> getOrderBargainList(Map<String, Object> map);

	int updateBargainList(Map<String, Object> map);

}
